<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/laydate.php';
		?>
		<?php
		include_once 'public/home/html/faltSelect.php';
		?>
		<link rel="stylesheet" href="public/css/edit.css" />
		<!-- <script src="cust/js/attendEdit.js"></script> -->
		<script src="public/js/cus_modal.js"></script>
    <style>
	body{
        background: #fff;
        width:96%;
        margin-left: 2%;
    }
    *{
    margin: 0;padding: 0;
}
.top{
    /* margin-top: 5%; */
    width: 100%;
    text-align: center;
}
.top p {
        width: 30%;
        margin-left: 70%;
    }
.topsp{
    margin-left: 0%;
    font-size: 23px;
    font-weight: bold;
}
.topsp1{
    font-size: 13px;
    font-weight: bold;
}
.bottom{
    width: 100%;
    margin-top: 1%;
    margin-bottom: 5%;
}
.bottom form{
    margin: 0 auto;
}
.trs{
    border-bottom: 1px solid #000;
    height: 50px;
}
.course{
width: 10%;
height: 45px;
font-size: 15px;
font-weight: bold;
text-align: center;

}
.course1{
    border-left: 1px solid #000;
    padding-left: 0.5%;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
    width:30%;
    
}
.course2{
    border-left: 1px solid #000;border-right: 1px solid #000;
    text-align: center;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
}
.ckbox{
    vertical-align:middle;
    margin-bottom: 3px;
}
.Teacher{
    
    width:10%;
    height: 45px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}
.Teacher1{
    border-left: 1px solid #000;
    padding-left: 0.5%;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
    width:30%;
}
.ther{
    border-bottom: 1px solid #000;
    height: 28px;
}
.bor{
    border: 0;
    height: 20px;
}
.wid{
    width: 120px;
    height: 20px;
}
.borl{
    border-left: 1px solid #000;
}
.borb{
    border-bottom: 1px solid #000;
}
td{
    /* width: 10px; */
    height:15px;/*这里需要自己调整，根据自己的需求调整高度*/
    position: relative;
    }
/* td[class=trtd]:before{
    content: '';
    position: absolute;
    width: 1px;
    height: 54px;
    top: 0px;
    left: 38px;
    background-color: black;
    display: block;
    transform: rotate(45.9deg);
    transform-origin: top;
} */
/* .xx{
    content: '';
    position: absolute;
    width: 1px;
    height: 54px;
    top: 0px;
    left: 38px;
    background-color: black;
    display: block;
    transform: rotate(45.9deg);
    transform-origin: top;
} */

.thaty{
    text-align: center;
    border: 1px solid #000;
    width: 50px;
    height: 20px;
}
.standard{
    height: 80px;
    border: 1px solid #000;
    text-align: center;
    width:44px;
}
.ability{
    width: 44px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 1.5%;
}
.tsstus{
    width: 44px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 3.5%;
}
.score{
    height: 22px;
    width: 29px;
    border: 0;
    text-align: center;
}
.score1{
    width: 75px;
    height: 22px;
    border: 0;
    text-align: center;
}
.cascore{
    height: 22px;
    width: 55px;
    border: 0;
    text-align: center;
}
#print{
        position: absolute;
        top:10px;
        right:2%;
      }
   .table1{
     border: 1px solid #000;width: 250mm; margin: 0 auto;border-collapse: collapse;
   } 
   
   .table2{
         border-left: 1px solid #000;border-right: 1px solid #000;width:250mm;height: 826px; margin: 0 auto;border-collapse: collapse;
         page-break-after:always;
   } 

   .table3{
    /* border-left: 1px solid #000;border-right: 1px solid #000;border-bottom: 1px solid #000; */
    width: 250mm;
     /* height:500px; */
     margin: 0 auto;border-collapse: collapse;
   } 
    .div{
        border:0px solid red;
        page-break-after:always;
    }
    /* .div{
        border:0px solid red;
        page-break-after:always;
    }
    .div1{
        border:0px solid red;
        page-break-after:always;
    } */
    </style>
    <!-- 打印时隐藏按钮 -->
    <style media="print">
      #print {
      display: none;
      }
      .table3{
        border: 1px solid #000; 
      }
    </style>
    <style media="screen">
       #print {
      display: block;
      }
      .table3{
            border-left: 1px solid #000;border-right: 1px solid #000;border-bottom: 1px solid #000;
        } 
    </style>
	</head>
	<body>  
    <!--startprint-->
    <?php foreach ($AttendList as $key => $val):?>
        <?PHP if($val['htmltype'] == 0): ?>
            <div class="div">
                <div style="page-break-after:always;">
                <table  style="width: 210mm;height: 605px;margin: 0 auto;">
                    <tr>
                        <td colspan="2" >
                            浙江职业技术学院
                        </td>
                        <td style="text-align: right">
                        </td>
                        <td style="text-align: center">
                            <!-- <?php if(isset($val['detail']['attend']['serial_no'])){echo $val['detail']['attend']['serial_no'];} ?> -->
                        </td>

                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            <h3 style="letter-spacing: 20px;margin-bottom: 0px"><strong>督导听课评价表</strong></h3>
                        </td>

                    </tr>
                    <tr>

                        <td colspan="4" style="text-align: center">
                            <span class='border_bottom'>
                                <?php if(isset($val['detail']['attend']['academic_year'])){echo $val['detail']['attend']['academic_year'];} ?>学年<?php echo $val['detail']['attend']['semester']?>
                            </span>
                        </td>

                    </tr>
                    <tr>
                        <td  style="text-align: right">
                            <div style="height: 50px"></div>
                            课程名称:
                        </td>
                        <td style="text-align: center;">
                            <div style="height: 50px"></div>
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['class_name'])){echo  $val['detail']['attend']['class_name'];}?></div>
                        </td>
                        <td colspan="2">
                            <div style="height: 50px"></div>
                            <!-- <?php 
                                foreach ((new CourseName)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['class_type']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?> -->
                                <?php
                                foreach ($val['courseType'] as $k => $v) {
                                    $checked="";
                                    if($v['option']==$val['detail']['attend']['class_type']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v['option'];
                                }
                                ?>                          
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right">
                            授课教师:
                        </td>
                        <td style="text-align: center">
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['teacher_name'])){echo $val['detail']['attend']['teacher_name'];} ?><div>
                        </td>
                        <td colspan="2">
                            职称:                        

                            <?php 
                                foreach ((new Title)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['title']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='title' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>

                    </tr>
                    <tr  >
                        <td  style="text-align: right" >
                            所属二级学院（部）:
                        </td>
                        <td style="text-align: center;" >
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['dept_name'])){echo $val['detail']['attend']['dept_name'];} ?></div>
                        </td>
                        <td colspan="2">
                            年龄层次：
                            <?php 
                                foreach ((new AgeGroups)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['age_groups']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>

                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            教师属性：   
                            <?php 
                                foreach ((new TeachersAttribute)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['teachers_attribute']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            <div style="height: 80px"></div>
                            听课教师：&nbsp;
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div style="height: 80px"></div>
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['listen_name'])){echo $val['detail']['attend']['listen_name'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课时间：&nbsp;
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_time'])){echo date('Y-m-d ', $val['detail']['attend']['listen_time']);}?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课地点：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_address'])){echo $val['detail']['attend']['listen_address'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            开课单位：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['course_units'])){echo $val['detail']['attend']['course_units'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课班级：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_class'])){echo $val['detail']['attend']['listen_class'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            <div style="height: 50px"></div>
                            <h4 style="margin-bottom: 0px"><strong>质量监督办/督导处</strong></h4>
                        </td>
                    </tr>
                </table>
                </div>
                <div style="margin-top: 55px;  page-break-after:always;" >
                    <table  style="width: 210mm;height: 540px;margin: 0 auto;border: 1px solid #000;border-collapse: collapse;" class="table-condensed">
                        <tr s>
                            <td colspan="10" style="text-align: center;width: 25px;border: 1px solid #000;border-collapse: collapse;">
                                <strong>教师教学水平与教学效果评价</strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: center;height: 7%;width: 7%;border: 1px solid#000;border-collapse: collapse;">
                                评价<br/>项目
                            </td>
                            <td colspan="5" style="text-align: center;width: 58%;border: 1px solid#000;border-collapse: collapse;">评价内容</td>
                            <td style="text-align: center;width: 10%;border: 1px solid#000;border-collapse: collapse;">分值</td>
                            <td style="text-align: center;width: 10%;border: 1px solid#000;border-collapse: collapse;">得分</td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">小计</td>
                        </tr>
                        <tr style="height: 10px;border: 1px solid#000;border-collapse: collapse;" >
                            <td rowspan="3" style="height: 15%;border: 1px solid#000;border-collapse: collapse;">教学内容（30分）</td>
                            <td colspan="5" style=" height: 25px;font-size:xx-small;text-align: left;border: 1px solid#000;border-collapse: collapse;"><?php echo TeachingContent::First[XPHEnum::Value].".".$val['detail']['attend_teaching_content']['0']['content']?></td>
                            <td style="text-align: center;height: 25px;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_content']['0']['get_score'])){echo $val['detail']['attend_teaching_content']['0']['get_score'];} ?></td>
                            <td rowspan="3" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_teaching_content']['0']['get_score']+$val['detail']['attend_teaching_content']['1']['get_score']+$val['detail']['attend_teaching_content']['2']['get_score']?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;"><?php echo TeachingContent::Second[XPHEnum::Value].".".$val['detail']['attend_teaching_content']['1']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['1']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend_teaching_content']['1']['get_score'])){echo $val['detail']['attend_teaching_content']['1']['get_score'];} ?>
                            </td>

                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['2']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['2']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_content']['2']['get_score'])){echo $val['detail']['attend_teaching_content']['2']['get_score'];} ?></td>

                        </tr>
                        <tr>
                            <td rowspan="6">教学实施（70分）</td>
                            <td colspan="5" style="font-size:xx-small;border: 1px solid#000;border-collapse: collapse;";><?php echo TeachingImplementation::First[XPHEnum::Value].".".$val['detail']['attend_teaching_implementation']['0']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['0']['get_score'])){echo $val['detail']['attend_teaching_implementation']['0']['get_score'];} ?></td>
                            <td rowspan="6" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_teaching_implementation']['0']['get_score']+$val['detail']['attend_teaching_implementation']['1']['get_score']+$val['detail']['attend_teaching_implementation']['2']['get_score']+$val['detail']['attend_teaching_implementation']['3']['get_score']+$val['detail']['attend_teaching_implementation']['4']['get_score']+$val['detail']['attend_teaching_implementation']['5']['get_score']?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size:xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo TeachingImplementation::Second[XPHEnum::Value].".".$val['detail']['attend_teaching_implementation']['1']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['1']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['1']['get_score'])){echo $val['detail']['attend_teaching_implementation']['1']['get_score'];} ?></td>

                        </tr>
                        <tr>
                            <td colspan="5" style="font-size:xx-small;border: 1px solid#000;border-collapse: collapse;"><?php $val['detail']['attend_teaching_implementation']['2']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['2']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['2']['get_score'])){echo $val['detail']['attend_teaching_implementation']['2']['get_score'];} ?></td>

                        </tr>
                        <tr>
                            <td colspan="5" style="font-size:xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['3']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo$val['detail']['attend_teaching_implementation']['3']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['3']['get_score'])){echo $val['detail']['attend_teaching_implementation']['3']['get_score'];} ?></td>

                        </tr>
                        <tr>
                            <td colspan="5" style="font-size:x-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['4']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo$val['detail']['attend_teaching_implementation']['4']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['4']['get_score'])){echo $val['detail']['attend_teaching_implementation']['4']['get_score'];} ?></td>

                        </tr>
                        <tr>
                            <td colspan="5" style="font-size:xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['5']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['5']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_implementation']['5']['get_score'])){echo $val['detail']['attend_teaching_implementation']['5']['get_score'];} ?></td>

                        </tr>
                        <tr >
                            <td colspan="2" rowspan="2" style="width: 15%;border: 1px solid#000;border-collapse: collapse;">
                                <strong>教学水平总体评价（打√）</strong>
                            </td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['0']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['1']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['2']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['3']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['4']['item']?></td>
                            <td rowspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">合计</td>
                            <td  rowspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php
                                if($val['detail']['attend']['teaching_level_score']>=90){
                                    echo "A";
                                }
                                else if($val['detail']['attend']['teaching_level_score']>=80 && $val['detail']['attend']['teaching_level_score']<90){
                                    echo "B";
                                }
                                else if($val['detail']['attend']['teaching_level_score']>=70 && $val['detail']['attend']['teaching_level_score']<80){
                                    echo "C";
                                }
                                else if($val['detail']['attend']['teaching_level_score']>=60 && $val['detail']['attend']['teaching_level_score']<70){
                                    echo "D";
                                }
                                else {
                                    echo "E";
                                }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['0']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['1']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['2']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['3']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_level']['4']['remark']?></td>
                        </tr>
                        <tr>
                            <td rowspan="6" style="border: 1px solid#000;border-collapse: collapse;">学生状况（100分）</td>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['0']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['0']['get_score'])){echo $val['detail']['attend_student_status']['0']['get_score'];} ?></td>
                            <td rowspan="6" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_student_status']['0']['get_score']+$val['detail']['attend_student_status']['1']['get_score']+$val['detail']['attend_student_status']['2']['get_score']+$val['detail']['attend_student_status']['3']['get_score']+$val['detail']['attend_student_status']['4']['get_score']+$val['detail']['attend_student_status']['5']['get_score']?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['1']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['1']['score'][0]?></td>
                            <td  style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['1']['get_score'])){echo $val['detail']['attend_student_status']['1']['get_score'];} ?></td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['2']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['2']['score'][0]?></td>
                            <td  style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['2']['get_score'])){echo $val['detail']['attend_student_status']['2']['get_score'];} ?></td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['3']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['3']['score'][0]?></td>
                            <td  style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['3']['get_score'])){echo $val['detail']['attend_student_status']['3']['get_score'];} ?></td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['4']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['4']['score'][0]?></td>
                            <td  style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['4']['get_score'])){echo $val['detail']['attend_student_status']['4']['get_score'];} ?></td>
                        </tr>
                        <tr>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['5']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['5']['score'][0]?></td>
                            <td  style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['5']['get_score'])){echo $val['detail']['attend_student_status']['5']['get_score'];} ?></td>
                        </tr>
                        <tr >
                            <td colspan="2" rowspan="2" style="width: 15%;border: 1px solid#000;border-collapse: collapse;">
                                <strong>教学效果总体评价（打√）</strong>
                            </td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['0']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['1']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['2']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['3']['item']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['4']['item']?></td>
                            <td rowspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">合计</td>
                            <td  rowspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php
                                if($val['detail']['attend']['teaching_effect_score']>=90){
                                    echo "A";
                                }
                                else if($val['detail']['attend']['teaching_effect_score']>=80 && $val['detail']['attend']['teaching_effect_score']<90){
                                    echo "B";
                                }
                                else if($val['detail']['attend']['teaching_effect_score']>=70 && $val['detail']['attend']['teaching_effect_score']<80){
                                    echo "C";
                                }
                                else if($val['detail']['attend']['teaching_effect_score']>=60 && $val['detail']['attend']['teaching_effect_score']<70){
                                    echo "D";
                                }
                                else {
                                    echo "E";
                                }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['0']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['1']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['2']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['3']['remark']?></td>
                            <td style="text-align:center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_effect']['4']['remark']?></td>
                        </tr>
                    </table>
                    <table  style="width: 210mm;height: 365px;margin: 0 auto;border: 1px solid #000;border-collapse: collapse;">
                        <tr>
                            <td rowspan="4" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">教学准备开展情况</td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['0']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['0']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['0']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['1']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['1']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['1']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['2']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['2']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['2']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['3']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['3']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['3']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['4']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['4']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['4']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['5']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['5']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['5']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['6']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['6']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['6']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['7']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['7']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['7']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['8']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['8']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['8']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['9']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['9']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['9']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['10']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['10']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['10']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['11']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['11']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['11']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="2" style="border: 1px solid#000;border-collapse: collapse;">学生常态</td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][0]['item']."/".$val['detail']['attend_students_norm'][1]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][0]['check_value'])){echo $val['detail']['attend_students_norm'][0]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][1]['check_value'])){echo $val['detail']['attend_students_norm'][1]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][2]['item']."/".$val['detail']['attend_students_norm'][3]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][2]['check_value'])){echo $val['detail']['attend_students_norm'][2]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][3]['check_value'])){echo $val['detail']['attend_students_norm'][3]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][4]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][4]['check_value'])){echo $val['detail']['attend_students_norm'][4]['check_value'];} ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][5]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][5]['check_value'])){echo $val['detail']['attend_students_norm'][5]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][6]['item']."/".$val['detail']['attend_students_norm'][7]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][6]['check_value'])){echo $val['detail']['attend_students_norm'][6]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][7]['check_value'])){echo $val['detail']['attend_students_norm'][7]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][8]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][8]['check_value'])){echo $val['detail']['attend_students_norm'][8]['check_value'];} ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">课堂设施设备完好情况</td>
                            <td colspan="8" style="border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                $item = explode(",",$val['detail']['attend_classroom_facilities']['option']);
                                foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_classroom_facilities']['check_value']==$v){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                }
                            ?>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">课堂环境卫生情况</td>
                            <td colspan="8" style="border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                $item = explode(",",$val['detail']['attend_classroom_environmental']['option']);
                                foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_classroom_environmental']['check_value']==$v){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                }
                            ?>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 10%;text-align: center;border: 1px solid#000;border-collapse: collapse;" >听课教师意见或建议</td>
                            <td colspan="9" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend']['advice'])){echo $val['detail']['attend']['advice'];} ?>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="">
                    <table class='edit_table' style="width:210mm;height: 505px;border: 1px solid #000;border-collapse: collapse;margin: 0 auto;">
                        <tr style="height: 5%;border: 1px solid #000;border-collapse: collapse;">
                            <td colspan="2" style=" border: 1px solid #000;border-collapse: collapse;" >
                                <h5><strong>听课内容记录 照片（附件）</strong></h5>
                                （包括教学内容、教学过程、教学组织、各环节时间、学生反应情况等）
                            </td>
                        </tr>
                        <tr style="height: 70%;">
                            <td colspan="2" valign="top">
                            <div style="margin: 2%">
                                <div>
                                时间： <?php echo $val['detail']['attend_record'][0]['time']; ?>
                                </div>
                                <div style="margin-top: 3%">
                                听课记录：<br>
                                <p style="text-indent:25px">
                                <?php echo  $val['detail']['attend_record'][0]['commentary']; ?>
                                </p>
                                </div>
                                <div>
                                <?php 
                                    if(isset($val['detail']['attend_img'])){
                                    foreach ($val['detail']['attend_img'] as $k => $v) {
                                        echo "<img src='".$v['img']."' style='width:500px'>";
                                    }
                                    }
                                ?>
                                </div>
                            </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        <?php elseif($val['htmltype'] == 1) :?>
            <div class="div">
                <div style="page-break-after:always;">
                <table  style="height: 905px;width: 210mm;margin: 0 auto;">
                    <tr>
                        <td colspan="2" >
                            浙江职业技术学院
                        </td>
                        <td style="text-align: right">
                        </td>
                        <td style="text-align: center">
                            <!-- <?php if(isset($val['detail']['attend']['serial_no'])){echo $val['detail']['attend']['serial_no'];} ?> -->
                        </td>

                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            <h3 style="letter-spacing: 20px;margin-bottom: 0px"><strong>督导听课评价表</strong></h3>
                        </td>

                    </tr>
                    <tr>

                        <td colspan="4" style="text-align: center">
                            <span class='border_bottom'>
                                <?php if(isset($val['detail']['attend']['academic_year'])){echo $val['detail']['attend']['academic_year'];} ?>学年<?php echo $val['detail']['attend']['semester']?>
                            </span>
                        </td>

                    </tr>
                    <tr>
                        <td  style="text-align: right">
                            <div style="height: 50px"></div>
                            课程名称:
                        </td>
                        <td style="text-align: center;">
                            <div style="height: 50px"></div>
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['class_name'])){echo  $val['detail']['attend']['class_name'];}?></div>
                        </td>
                        <td colspan="2">
                            <div style="height: 50px"></div>
                            <!-- <?php 
                                foreach ((new CourseName)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['class_type']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?> -->
                                <?php
                                foreach ($val['courseType'] as $k => $v) {
                                    $checked="";
                                    if($v['option']==$val['detail']['attend']['class_type']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v['option'];
                                }
                                ?>                          
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right">
                            授课教师:
                        </td>
                        <td style="text-align: center">
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['teacher_name'])){echo $val['detail']['attend']['teacher_name'];} ?><div>
                        </td>
                        <td colspan="2">
                            职称:                        

                            <?php 
                                foreach ((new Title)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['title']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='title' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>

                    </tr>
                    <tr  >
                        <td  style="text-align: right" >
                            所属二级学院（部）:
                        </td>
                        <td style="text-align: center;" >
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['dept_name'])){echo $val['detail']['attend']['dept_name'];} ?></div>
                        </td>
                        <td colspan="2">
                            年龄层次：
                            <?php 
                                foreach ((new AgeGroups)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['age_groups']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>

                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            教师属性：   
                            <?php 
                                foreach ((new TeachersAttribute)->getAll() as $k => $v) {
                                    $checked="";
                                    if($v[XPHEnum::Caption]==$val['detail']['attend']['teachers_attribute']){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='age_groups' onclick='return false' ".$checked.">".$v[XPHEnum::Caption];
                                }
                                ?>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            <div style="height: 80px"></div>
                            听课教师：&nbsp;
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div style="height: 80px"></div>
                            <div class="border_bottom"><?php if(isset($val['detail']['attend']['listen_name'])){echo $val['detail']['attend']['listen_name'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课时间：&nbsp;
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_time'])){echo date('Y-m-d ', $val['detail']['attend']['listen_time']);}?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课地点：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_address'])){echo $val['detail']['attend']['listen_address'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            开课单位：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['course_units'])){echo $val['detail']['attend']['course_units'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td  style="text-align: right;font-size: large">
                            听课班级：
                        </td>
                        <td style="text-align: center;font-size: large">
                            <div class='border_bottom'><?php if(isset($val['detail']['attend']['listen_class'])){echo $val['detail']['attend']['listen_class'];} ?></div>
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center">
                            <div style="height: 50px"></div>
                            <h4 style="margin-bottom: 0px"><strong>质量监督办/督导处</strong></h4>
                        </td>
                    </tr>
                </table>
                </div>
                <div style="margin-top: 55px;page-break-after:always;" >
                    <table  style="width:  210mm;height: 540px; margin: 0 auto;border: 1px solid #000;border-collapse: collapse;" class="table-condensed">
                        <tr >
                            <td colspan="10" style="text-align: center;width: 25px;border: 1px solid #000;border-collapse: collapse;">
                                <strong>教师教学水平与教学效果评价</strong>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: center;height: 7%;width: 7%;border: 1px solid#000;border-collapse: collapse;" colspan="2">
                                评价<br/>项目
                            </td>
                            <td colspan="5" style="text-align: center;width: 58%;border: 1px solid#000;border-collapse: collapse;">评价内容</td>
                            <td style="text-align: center;width: 10%;border: 1px solid#000;border-collapse: collapse;">分值</td>
                            <td style="text-align: center;width: 10%;border: 1px solid#000;border-collapse: collapse;">得分</td>
                            <!-- <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">小计</td> -->
                        </tr>
                        <tr style="height: 10px;border: 1px solid#000;border-collapse: collapse;" >
                            <td rowspan="4" style="height: 15%;border: 1px solid#000;border-collapse: collapse;">教学能力</td>
                            <td style="height: 15%;border: 1px solid#000;border-collapse: collapse;">教学准备</td>
                            <td colspan="5" style=" height: 25px;font-size:xx-small;text-align: left;border: 1px solid#000;border-collapse: collapse;"><?php echo TeachingContent::First[XPHEnum::Value].".".$val['detail']['attend_teaching_content']['0']['content']?></td>
                            <td style="text-align: center;height: 25px;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_teaching_content']['0']['get_score'])){echo $val['detail']['attend_teaching_content']['0']['get_score'];} ?></td>
                            <!-- <td rowspan="3" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_teaching_content']['0']['get_score']+$val['detail']['attend_teaching_content']['1']['get_score']+$val['detail']['attend_teaching_content']['2']['get_score']?>
                            </td> -->
                        </tr>
                        <tr>
                            <td style="height: 15%;border: 1px solid#000;border-collapse: collapse;">教学内容</td>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;"><?php echo TeachingContent::Second[XPHEnum::Value].".".$val['detail']['attend_teaching_content']['1']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_content']['1']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend_teaching_content']['1']['get_score'])){echo $val['detail']['attend_teaching_content']['1']['get_score'];} ?>
                            </td>

                        </tr>
                        <tr>
                            <td style="height: 15%;border: 1px solid#000;border-collapse: collapse;">教学实施</td>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;"><?php echo TeachingImplementation::First[XPHEnum::Value].".".$val['detail']['attend_teaching_implementation']['0']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend_teaching_implementation']['0']['get_score'])){echo $val['detail']['attend_teaching_implementation']['0']['get_score'];} ?>
                            </td>

                        </tr>
                        <tr>
                            <td style="height: 15%;border: 1px solid#000;border-collapse: collapse;">课堂效果</td>
                            <td colspan="5" style="font-size: xx-small;border: 1px solid#000;"><?php echo TeachingImplementation::Second[XPHEnum::Value].".".$val['detail']['attend_teaching_implementation']['1']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_teaching_implementation']['1']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend_teaching_implementation']['1']['get_score'])){echo $val['detail']['attend_teaching_implementation']['1']['get_score'];} ?>
                            </td>

                        </tr>

                        <tr>
                        <td  colspan="8" style="height: 15%;border: 1px solid#000;border-collapse: collapse;text-align: center;">合计</td>
                        <td  style="height: 15%;border: 1px solid#000;border-collapse: collapse;text-align: center;"><?php if(isset($val['detail']['attend']['teaching_level_score'])){echo $val['detail']['attend']['teaching_level_score'];}?></td>
                        </tr>
                        <tr>
                            <td rowspan="2" colspan="2" style="border: 1px solid#000;border-collapse: collapse;">学生状况（100分）</td>
                            <!-- <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo StudentStatus::First[XPHEnum::Value].".".$val['detail']['attend_student_status']['0']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['0']['get_score'])){echo $val['detail']['attend_student_status']['0']['get_score'];} ?></td>
                            <td rowspan="6" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_student_status']['0']['get_score']+$val['detail']['attend_student_status']['1']['get_score']+$val['detail']['attend_student_status']['2']['get_score']+$val['detail']['attend_student_status']['3']['get_score']+$val['detail']['attend_student_status']['4']['get_score']+$val['detail']['attend_student_status']['5']['get_score']?>
                            </td> -->
                        </tr>
                        <tr>
                        <td colspan="5" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;"><?php echo StudentStatus::First[XPHEnum::Value].".".$val['detail']['attend_student_status']['0']['content']?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php echo $val['detail']['attend_student_status']['0']['score'][0]?></td>
                            <td style="text-align: center;border: 1px solid#000;border-collapse: collapse;"><?php if(isset($val['detail']['attend_student_status']['0']['get_score'])){echo $val['detail']['attend_student_status']['0']['get_score'];} ?></td>                       
                        </tr>
                        <tr>
                        <td  colspan="8" style="height: 15%;border: 1px solid#000;border-collapse: collapse;text-align: center;">合计</td>
                        <td  style="height: 15%;border: 1px solid#000;border-collapse: collapse;text-align: center;"><?php if(isset($val['detail']['attend']['teaching_effect_score'])){echo $val['detail']['attend']['teaching_effect_score'];}?></td>
                        </tr>
                    </table>
                    <table  style="width:  210mm;height: 365px; margin: 0 auto;border: 1px solid #000;border-collapse: collapse;">

                        <tr>
                            <td rowspan="4" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">教学准备开展情况</td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['0']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['0']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['0']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['1']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['1']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['1']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['2']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['2']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['2']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['3']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['3']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['3']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['4']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['4']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['4']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['5']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['5']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['5']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['6']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['6']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['6']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['7']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['7']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['7']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['8']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['8']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['8']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                    echo $val['detail']['attend_teaching_readiness']['9']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['9']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['9']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['10']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['10']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['10']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                            <td colspan="3" style="text-align: left;border: 1px solid#000;border-collapse: collapse;">
                                <?php 
                                    echo $val['detail']['attend_teaching_readiness']['11']['item'];
                                    $item = explode(",",$val['detail']['attend_teaching_readiness']['11']['option']);
                                    foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_teaching_readiness']['11']['check_value']==$v){
                                        $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                    }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td rowspan="2" style="border: 1px solid#000;border-collapse: collapse;">学生常态</td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][0]['item']."/".$val['detail']['attend_students_norm'][1]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][0]['check_value'])){echo $val['detail']['attend_students_norm'][0]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][1]['check_value'])){echo $val['detail']['attend_students_norm'][1]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][2]['item']."/".$val['detail']['attend_students_norm'][3]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][2]['check_value'])){echo $val['detail']['attend_students_norm'][2]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][3]['check_value'])){echo $val['detail']['attend_students_norm'][3]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="font-size: xx-small;border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][4]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][4]['check_value'])){echo $val['detail']['attend_students_norm'][4]['check_value'];} ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][5]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][5]['check_value'])){echo $val['detail']['attend_students_norm'][5]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][6]['item']."/".$val['detail']['attend_students_norm'][7]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][6]['check_value'])){echo $val['detail']['attend_students_norm'][6]['check_value'];} ?>/
                                <?php if(isset($val['detail']['attend_students_norm'][7]['check_value'])){echo $val['detail']['attend_students_norm'][7]['check_value'];} ?>
                            </td>
                            <td colspan="3" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php echo $val['detail']['attend_students_norm'][8]['item'] ?>
                                <?php if(isset($val['detail']['attend_students_norm'][8]['check_value'])){echo $val['detail']['attend_students_norm'][8]['check_value'];} ?>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">课堂设施设备完好情况</td>
                            <td colspan="8" style="border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                $item = explode(",",$val['detail']['attend_classroom_facilities']['option']);
                                foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_classroom_facilities']['check_value']==$v){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                }
                            ?>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="text-align: center;border: 1px solid#000;border-collapse: collapse;">课堂环境卫生情况</td>
                            <td colspan="8" style="border: 1px solid#000;border-collapse: collapse;">
                            <?php 
                                $item = explode(",",$val['detail']['attend_classroom_environmental']['option']);
                                foreach ($item as $k => $v) {
                                    $checked="";
                                    if($val['detail']['attend_classroom_environmental']['check_value']==$v){
                                    $checked="checked";
                                    }
                                    echo "<input type='checkbox' name='class_criterion' onclick='return false' ".$checked.">".$v;
                                }
                            ?>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 10%;text-align: center;border: 1px solid#000;border-collapse: collapse;" >听课教师意见或建议</td>
                            <td colspan="9" style="border: 1px solid#000;border-collapse: collapse;">
                                <?php if(isset($val['detail']['attend']['advice'])){echo $val['detail']['attend']['advice'];} ?>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="">
                    <table class='edit_table' style="width: 210mm;height:605px;border: 1px solid #000;border-collapse: collapse;margin: 0 auto;">
                        <tr style="height: 5%;border: 1px solid#000;border-collapse: collapse;">
                            <td colspan="2" style=" border: 1px solid#000;border-collapse: collapse;" >
                                <h5><strong>听课内容记录 照片（附件）</strong></h5>
                                （包括教学内容、教学过程、教学组织、各环节时间、学生反应情况等）
                            </td>
                        </tr>
                        <tr style="height:70%;">
                            <td colspan="2" valign="top">
                            <div style="margin: 2%">
                                <div>
                                时间： <?php echo $val['detail']['attend_record'][0]['time']; ?>
                                </div>
                                <div style="margin-top: 3%">
                                听课记录：<br>
                                <p style="text-indent:25px">
                                <?php echo  $val['detail']['attend_record'][0]['commentary']; ?>
                                </p>
                                </div>
                                <div>
                                <?php 
                                    if(isset($val['detail']['attend_img'])){
                                    foreach ($val['detail']['attend_img'] as $k => $v) {
                                        echo "<img src='".$v['img']."' style='width:500px'>";
                                    }
                                    }
                                ?>
                                </div>
                            </div>
                            </td>
                        </tr>

                    </table>
                </div>
            </div>
        <?php elseif($val['htmltype'] == 2) :?>
            <div class="div">
                <div class="top">
                    <span class="topsp">浙江工业职业技术学院课堂教学评价表（<?=$val['detail']['attend']['class_type']?>）</span>
                    <p> <span class="topsp1"><?=$val['detail']['attend']['academic_year'].'学年'.$val['detail']['attend']['semester']?></span></p>
                </div>
                <div class="bottom">
                    <form>
                        <table  class="table1" >
                                <!-- 课程信息 -->
                                <tr class="trs">
                                    <td class="course"><span>课程信息</span></td>
                                    <td class="course1" >课程名称：<?=$val['detail']['attend']['class_name']?>  </td>
                                    <td class="course1" >课程类型：<?=$val['detail']['attend']['class_type']?> </td>
                                    <td class="course1">开课单位：<?=$val['detail']['attend']['course_units']?></td>
                                </tr>

                                <!-- 教师信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">教师信息</td>
                                    <td class="Teacher1" >教师姓名：<?=$val['detail']['attend']['teacher_name']?></td>
                                    <td class="Teacher1" >教师职称：<?=$val['detail']['attend']['title']?></td>
                                    <td class="Teacher1" >所属单位和专业：<?=$val['detail']['attend']['dept_name']?></td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1"  >年龄：<?=$val['detail']['attend']['age_groups']?></td>
                                    <td class="Teacher1" colspan="2" >教师属性：<?=$val['detail']['attend']['teachers_attribute']?></td>
                                </tr>

                                <!-- 听课信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">听课信息</td>
                                    <td class="Teacher1" >听课人姓名：<?=$val['detail']['attend']['listen_name']?></td>
                                    <td class="Teacher1" >听课地点：<?=$val['detail']['attend']['listen_address']?></td>
                                    <td class="Teacher1" >听课时间：<?php echo $val['detail']['attend']['listen_time'] ?date('Y-m-d',$val['detail']['attend']['listen_time']) :'';?>
                                    </td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1" colspan="3" >听课班级：<?=$val['detail']['attend']['listen_class']?></td>
                                </tr>
                        </table>
                        <table  class="table2" >
                                <!-- 评价项目 -->
                                <tr>
                                    <td class="course" style="border-bottom: 1px solid #000;"  rowspan="2">评价项目</td>
                                    <td class="course borl borb"  rowspan="2"> 评价指标</td>
                                    <td class="course2 borb" style="text-align: center;"  rowspan="2"> </td>
                                    <td class="course2 borb" colspan="3" style="width: 71%;">等级</td>
                                </tr>
                                <tr>
                                    <!-- <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td> -->
                                    <td class="course2 borb" >好</td>
                                    <td class="course2 borb">中</td>
                                    <td class="course2 borb" >差</td>
                                </tr>


                                <!-- 教学能力 -->
                                <tr>
                                    <td class="ability borb" rowspan="12">教　学　能　力　（100）</td>
                                    <!-- 教学准备 -->
                                    <td class="ability borl borb" id="Teaching_ability" rowspan="3"><?= TeachingContent::First[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= TeachingContent::First[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= TeachingContent::First[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= TeachingContent::First[XPHEnum::Detail][0][2] ?></td>
                                </tr>

                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= TeachingContent::First[XPHEnum::Detail][2][0] ?>-<?= TeachingContent::First[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= TeachingContent::First[XPHEnum::Detail][1][0] ?>-<?= TeachingContent::First[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= TeachingContent::First[XPHEnum::Detail][0][0] ?>-<?= TeachingContent::First[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][2][0] && $val['detail']['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][2][1] ? $val['detail']['attend_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][1][0] && $val['detail']['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][1][1] ? $val['detail']['attend_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][0][0] && $val['detail']['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][0][1] ? $val['detail']['attend_teaching_content'][0]['get_score'] : ''?>
                                    </td>
                                </tr>
                            

                                <!-- 教学内容 -->
                                
                                <tr>
                                    <td class="ability borl borb" rowspan="3"><?= TeachingContent::Second[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= TeachingContent::Second[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= TeachingContent::Second[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= TeachingContent::Second[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= TeachingContent::Second[XPHEnum::Detail][2][0] ?>-<?= TeachingContent::Second[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= TeachingContent::Second[XPHEnum::Detail][1][0] ?>-<?= TeachingContent::Second[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= TeachingContent::Second[XPHEnum::Detail][0][0] ?>-<?= TeachingContent::Second[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][2][0] && $val['detail']['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][2][1] ? $val['detail']['attend_teaching_content'][1]['get_score'] : ''?><?=$val['detail']['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][1][0] && $val['detail']['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][1][1] ? $val['detail']['attend_teaching_content'][1]['get_score'] : ''?><?=$val['detail']['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][0][0] && $val['detail']['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][0][1] ? $val['detail']['attend_teaching_content'][1]['get_score'] : ''?></td>
                                </tr>
                            
                                <!-- 教学实施 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= TeachingImplementation::First[XPHEnum::Caption] ?>（35）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= TeachingImplementation::First[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= TeachingImplementation::First[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= TeachingImplementation::First[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= TeachingImplementation::First[XPHEnum::Detail][2][0] ?>-<?= TeachingImplementation::First[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= TeachingImplementation::First[XPHEnum::Detail][1][0] ?>-<?= TeachingImplementation::First[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= TeachingImplementation::First[XPHEnum::Detail][0][0] ?>-<?= TeachingImplementation::First[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][2][0] && $val['detail']['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][2][1] ? $val['detail']['attend_teaching_implementation'][0]['get_score'] : ''?><?=$val['detail']['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][1][0] && $val['detail']['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][1][1] ? $val['detail']['attend_teaching_implementation'][0]['get_score'] : ''?><?=$val['detail']['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][0][0] && $val['detail']['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][0][1] ? $val['detail']['attend_teaching_implementation'][0]['get_score'] : ''?>
                                    </td>
                                </tr>
                            
                                <!-- 教学效果 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= TeachingImplementation::Second[XPHEnum::Caption] ?>（25）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= TeachingImplementation::Second[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= TeachingImplementation::Second[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= TeachingImplementation::Second[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= TeachingImplementation::Second[XPHEnum::Detail][2][0] ?>-<?= TeachingImplementation::Second[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= TeachingImplementation::Second[XPHEnum::Detail][1][0] ?>-<?= TeachingImplementation::Second[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= TeachingImplementation::Second[XPHEnum::Detail][0][0] ?>-<?= TeachingImplementation::Second[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][2][0] && $val['detail']['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][2][1] ? $val['detail']['attend_teaching_implementation'][1]['get_score'] : ''?><?=$val['detail']['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][1][0] && $val['detail']['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][1][1] ? $val['detail']['attend_teaching_implementation'][1]['get_score'] : ''?><?=$val['detail']['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][0][0] && $val['detail']['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][0][1] ? $val['detail']['attend_teaching_implementation'][1]['get_score'] : ''?>
                                    </td>
                                </tr>

                            
                                <!-- 学生状况 -->
                                <tr>
                                <td class="tsstus borl borb" rowspan="3" colspan="2"><?= StudentStatus::First[XPHEnum::Caption] ?>（100）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= StudentStatus::First[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::First[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::First[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= StudentStatus::First[XPHEnum::Detail][2][0] ?>-<?= StudentStatus::First[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= StudentStatus::First[XPHEnum::Detail][1][0] ?>-<?= StudentStatus::First[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= StudentStatus::First[XPHEnum::Detail][0][0] ?>-<?= StudentStatus::First[XPHEnum::Detail][0][1] ?></td>      
                                </tr>   
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][2][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][2][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][1][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][1][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][0][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][0][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?>
                                </td>
                                </tr>

                                <tr style="height: 20px;">
                                    <td class="borl borb" style="font-size: 15px; font-weight: bold;padding-left: 1%;padding-top: 0.5%;padding-bottom: 0.5%;">总计</td>
                                    <td class="borb" colspan="6" style="font-size: 15px;">(教学能力*70%+学生状态*30%):<?=$val['detail']['attend']['score']?></td>
                                </tr>   
                        </table>
                        <table class="table3" >
                            <?php if($val['detail']['attend_img3']):?>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;">学生状况附件</div><br>
                                            <div style="margin-left:10px;padding-bottom: 30px ;">
                                            <div>
                                                <?php foreach ($val['detail']['attend_img3'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                            </div>
                                            <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                        </div>
                                    </td>
                                </tr>  
                            <?php endif;?>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;">听课意见及建议:</div><br><div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend']['advice']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img2'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                        </div></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;"> 听课内容记录: （包括教学内容、教学过程、教学组织、各环节时间点、学生反映情况等）</div><br>
                                            <div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend_record'][0]['commentary']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img1'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                        </table>
                    </form>
                </div>
            </div>
        <?php elseif($val['htmltype'] == 3) :?>
            <div class="div">
                 <div class="top">
                    <span class="topsp">浙江工业职业技术学院课堂教学评价表（<?=$val['detail']['attend']['class_type']?>）</span>
                    <p> <span class="topsp1"><?=$val['detail']['attend']['academic_year'].'学年'.$val['detail']['attend']['semester']?></span></p>
                </div>
                <div class="bottom">
                    <form>
                        <table  class="table1" >
                                <!-- 课程信息 -->
                                <tr class="trs">
                                    <td class="course"><span>课程信息</span></td>
                                    <td class="course1" >课程名称：<?=$val['detail']['attend']['class_name']?>  </td>
                                    <td class="course1" >课程类型：<?=$val['detail']['attend']['class_type']?> </td>
                                    <td class="course1">开课单位：<?=$val['detail']['attend']['course_units']?></td>
                                </tr>

                                <!-- 教师信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">教师信息</td>
                                    <td class="Teacher1" >教师姓名：<?=$val['detail']['attend']['teacher_name']?></td>
                                    <td class="Teacher1" >教师职称：<?=$val['detail']['attend']['title']?></td>
                                    <td class="Teacher1" >所属单位和专业：<?=$val['detail']['attend']['dept_name']?></td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1"  >年龄：<?=$val['detail']['attend']['age_groups']?></td>
                                    <td class="Teacher1"  colspan="2">教师属性：<?=$val['detail']['attend']['teachers_attribute']?></td>
                                </tr>

                                <!-- 听课信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">听课信息</td>
                                    <td class="Teacher1" >听课人姓名：<?=$val['detail']['attend']['listen_name']?></td>
                                    <td class="Teacher1" >听课地点：<?=$val['detail']['attend']['listen_address']?></td>
                                    <td class="Teacher1" >听课时间：<?php echo $val['detail']['attend']['listen_time'] ?date('Y-m-d',$val['detail']['attend']['listen_time']) :'';?>
                                    </td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1"colspan="3" >听课班级：<?=$val['detail']['attend']['listen_class']?></td>
                                </tr>
                        </table>
                        <table  class="table2" >
                                <!-- 评价项目 -->
                                <tr>
                                    <td class="course" style="border-bottom: 1px solid #000;"  rowspan="2">评价项目</td>
                                    <td class="course borl borb"  rowspan="2"> 评价指标</td>
                                    <td class="course2 borb" style="text-align: center;"  rowspan="2"> </td>
                                    <td class="course2 borb" colspan="3" style="width: 71%;">等级</td>
                                </tr>
                                <tr>
                                    <!-- <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td> -->
                                    <td class="course2 borb" >好</td>
                                    <td class="course2 borb">中</td>
                                    <td class="course2 borb" >差</td>
                                </tr>


                                <!-- 教学能力 -->
                                <tr>
                                    <td class="ability borb" rowspan="15">教　学　能　力　（100）</td>
                                    <!-- 教学准备 -->
                                    <td class="ability borl borb" id="Teaching_ability" rowspan="3"><?= AttendsTeachingContent::First[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= AttendsTeachingContent::First[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::First[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::First[XPHEnum::Detail][0][2] ?></td>
                                </tr>

                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= AttendsTeachingContent::First[XPHEnum::Detail][2][0] ?>-<?= AttendsTeachingContent::First[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= AttendsTeachingContent::First[XPHEnum::Detail][1][0] ?>-<?= AttendsTeachingContent::First[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= AttendsTeachingContent::First[XPHEnum::Detail][0][0] ?>-<?= AttendsTeachingContent::First[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attends_teaching_content'][0]['get_score']>=AttendsTeachingContent::First[XPHEnum::Detail][2][0] && $val['detail']['attends_teaching_content'][0]['get_score']<=AttendsTeachingContent::First[XPHEnum::Detail][2][1] ? $val['detail']['attends_teaching_content'][0]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][0]['get_score']>=AttendsTeachingContent::First[XPHEnum::Detail][1][0] && $val['detail']['attends_teaching_content'][0]['get_score']<=AttendsTeachingContent::First[XPHEnum::Detail][1][1] ? $val['detail']['attends_teaching_content'][0]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][0]['get_score']>=AttendsTeachingContent::First[XPHEnum::Detail][0][0] && $val['detail']['attends_teaching_content'][0]['get_score']<=AttendsTeachingContent::First[XPHEnum::Detail][0][1] ? $val['detail']['attends_teaching_content'][0]['get_score'] : ''?>
                                    </td>
                                </tr>
                            

                                <!-- 教学内容 -->
                                
                                <tr>
                                    <td class="ability borl borb" rowspan="3"><?= AttendsTeachingContent::Second[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= AttendsTeachingContent::Second[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Second[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Second[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Second[XPHEnum::Detail][2][0] ?>-<?= AttendsTeachingContent::Second[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= AttendsTeachingContent::Second[XPHEnum::Detail][1][0] ?>-<?= AttendsTeachingContent::Second[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Second[XPHEnum::Detail][0][0] ?>-<?= AttendsTeachingContent::Second[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attends_teaching_content'][1]['get_score']>=AttendsTeachingContent::Second[XPHEnum::Detail][2][0] && $val['detail']['attends_teaching_content'][1]['get_score']<=AttendsTeachingContent::Second[XPHEnum::Detail][2][1] ? $val['detail']['attends_teaching_content'][1]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][1]['get_score']>=AttendsTeachingContent::Second[XPHEnum::Detail][1][0] && $val['detail']['attends_teaching_content'][1]['get_score']<=AttendsTeachingContent::Second[XPHEnum::Detail][1][1] ? $val['detail']['attends_teaching_content'][1]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][1]['get_score']>=AttendsTeachingContent::Second[XPHEnum::Detail][0][0] && $val['detail']['attends_teaching_content'][1]['get_score']<=AttendsTeachingContent::Second[XPHEnum::Detail][0][1] ? $val['detail']['attends_teaching_content'][1]['get_score'] : ''?></td>
                                </tr>
                            
                                <!-- 教学实施 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= AttendsTeachingContent::Third[XPHEnum::Caption] ?>（35）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= AttendsTeachingContent::Third[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Third[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Third[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Third[XPHEnum::Detail][2][0] ?>-<?= AttendsTeachingContent::Third[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= AttendsTeachingContent::Third[XPHEnum::Detail][1][0] ?>-<?= AttendsTeachingContent::Third[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Third[XPHEnum::Detail][0][0] ?>-<?= AttendsTeachingContent::Third[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attends_teaching_content'][2]['get_score']>=AttendsTeachingContent::Third[XPHEnum::Detail][2][0] && $val['detail']['attends_teaching_content'][2]['get_score']<=AttendsTeachingContent::Third[XPHEnum::Detail][2][1] ? $val['detail']['attends_teaching_content'][2]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][2]['get_score']>=AttendsTeachingContent::Third[XPHEnum::Detail][1][0] && $val['detail']['attends_teaching_content'][2]['get_score']<=AttendsTeachingContent::Third[XPHEnum::Detail][1][1] ? $val['detail']['attends_teaching_content'][2]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][2]['get_score']>=AttendsTeachingContent::Third[XPHEnum::Detail][0][0] && $val['detail']['attends_teaching_content'][2]['get_score']<=AttendsTeachingContent::Third[XPHEnum::Detail][0][1] ? $val['detail']['attends_teaching_content'][2]['get_score'] : ''?></td>
                                </tr>
                            
                                <!-- 教学效果 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= AttendsTeachingContent::Fourth[XPHEnum::Caption] ?>（25）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][2][0] ?>-<?= AttendsTeachingContent::Fourth[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][1][0] ?>-<?= AttendsTeachingContent::Fourth[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Fourth[XPHEnum::Detail][0][0] ?>-<?= AttendsTeachingContent::Fourth[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attends_teaching_content'][3]['get_score']>=AttendsTeachingContent::Fourth[XPHEnum::Detail][2][0] && $val['detail']['attends_teaching_content'][3]['get_score']<=AttendsTeachingContent::Fourth[XPHEnum::Detail][2][1] ? $val['detail']['attends_teaching_content'][3]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][3]['get_score']>=AttendsTeachingContent::Fourth[XPHEnum::Detail][1][0] && $val['detail']['attends_teaching_content'][3]['get_score']<=AttendsTeachingContent::Fourth[XPHEnum::Detail][1][1] ? $val['detail']['attends_teaching_content'][3]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][3]['get_score']>=AttendsTeachingContent::Fourth[XPHEnum::Detail][0][0] && $val['detail']['attends_teaching_content'][3]['get_score']<=AttendsTeachingContent::Fourth[XPHEnum::Detail][0][1] ? $val['detail']['attends_teaching_content'][3]['get_score'] : ''?></td>
                                </tr>

                                <!-- 教学效果 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= AttendsTeachingContent::Fifth[XPHEnum::Caption] ?>（25）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][2][0] ?>-<?= AttendsTeachingContent::Fifth[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][1][0] ?>-<?= AttendsTeachingContent::Fifth[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= AttendsTeachingContent::Fifth[XPHEnum::Detail][0][0] ?>-<?= AttendsTeachingContent::Fifth[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attends_teaching_content'][4]['get_score']>=AttendsTeachingContent::Fifth[XPHEnum::Detail][2][0] && $val['detail']['attends_teaching_content'][4]['get_score']<=AttendsTeachingContent::Fifth[XPHEnum::Detail][2][1] ? $val['detail']['attends_teaching_content'][4]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][4]['get_score']>=AttendsTeachingContent::Fifth[XPHEnum::Detail][1][0] && $val['detail']['attends_teaching_content'][4]['get_score']<=AttendsTeachingContent::Fifth[XPHEnum::Detail][1][1] ? $val['detail']['attends_teaching_content'][4]['get_score'] : ''?>
                                    <?=$val['detail']['attends_teaching_content'][4]['get_score']>=AttendsTeachingContent::Fifth[XPHEnum::Detail][0][0] && $val['detail']['attends_teaching_content'][4]['get_score']<=AttendsTeachingContent::Fifth[XPHEnum::Detail][0][1] ? $val['detail']['attends_teaching_content'][4]['get_score'] : ''?></td>
                                </tr>
                            
                                <!-- 学生状况 -->
                                <tr>
                                <td class="tsstus borl borb" rowspan="3" colspan="2"><?= StudentStatus::Second[XPHEnum::Caption] ?>（100）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= StudentStatus::Second[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::Second[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::Second[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= StudentStatus::Second[XPHEnum::Detail][2][0] ?>-<?= StudentStatus::Second[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= StudentStatus::Second[XPHEnum::Detail][1][0] ?>-<?= StudentStatus::Second[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= StudentStatus::Second[XPHEnum::Detail][0][0] ?>-<?= StudentStatus::Second[XPHEnum::Detail][0][1] ?></td>      
                                </tr>   
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Second[XPHEnum::Detail][2][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Second[XPHEnum::Detail][2][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Second[XPHEnum::Detail][1][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Second[XPHEnum::Detail][1][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Second[XPHEnum::Detail][0][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Second[XPHEnum::Detail][0][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?></td>
                                </tr>

                                <tr style="height: 20px;">
                                    <td class="borl borb" style="font-size: 15px; font-weight: bold;padding-left: 1%;padding-top: 0.5%;padding-bottom: 0.5%;">总计</td>
                                    <td class="borb" colspan="6" style="font-size: 15px;">(教学能力*70%+学生状态*30%):<?=$val['detail']['attend']['score']?></td>
                                </tr>   
                        </table>
                        <table class="table3"  >
                            <?php if($val['detail']['attend_img3']):?>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;">学生状况附件</div><br>
                                            <div style="margin-left:10px;padding-bottom: 30px ;">
                                            <div>
                                                <?php foreach ($val['detail']['attend_img3'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                            </div>
                                            <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                        </div>
                                    </td>
                                </tr>  
                            <?php endif;?>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;">听课意见及建议:</div><br><div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend']['advice']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img2'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                        </div></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;"> 听课内容记录: （包括教学内容、教学过程、教学组织、各环节时间点、学生反映情况等）</div><br>
                                            <div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend_record'][0]['commentary']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img1'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                        </table>
                    </form>
                </div>
          </div>
        <?php elseif($val['htmltype'] == 4) :?>
            <div class="div">
                <div class="top">
                <span class="topsp">浙江工业职业技术学院课堂教学评价表（<?=$val['detail']['attend']['class_type']?>）</span>
                <p> <span class="topsp1"><?=$val['detail']['attend']['academic_year'].'学年'.$val['detail']['attend']['semester']?></span></p>
                </div>
                <div class="bottom">
                    <form>
                        <table class="table1" >
                            <!-- <thead> -->
                                <!-- 课程信息 -->
                                <tr class="trs">
                                    <td class="course"><span>课程信息</span></td>
                                    <td class="course1"colspan="2" >课程名称：<?=$val['detail']['attend']['class_name']?> </td>
                                    <td class="course1">开课单位：<?=$val['detail']['attend']['course_units']?></td>
                                </tr>

                                <!-- 教师信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">教师信息</td>
                                    <td class="Teacher1"  >教师姓名：<?=$val['detail']['attend']['teacher_name']?></td>
                                    <td class="Teacher1" >教师职称：<?=$val['detail']['attend']['title']?></td>
                                    <td class="Teacher1" >所属单位和专业：<?=$val['detail']['attend']['dept_name']?></td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1" >年龄：<?=$val['detail']['attend']['age_groups']?></td>
                                    <td class="Teacher1"  colspan="2">教师属性：<?=$val['detail']['attend']['teachers_attribute']?></td>
                                </tr>

                                <!-- 听课信息 -->
                                <tr class="ther">
                                    <td class="Teacher" rowspan="2">听课信息</td>
                                    <td class="Teacher1" >听课人姓名：<?=$val['detail']['attend']['listen_name']?></td>
                                    <td class="Teacher1" >听课地点：<?=$val['detail']['attend']['listen_address']?></td>
                                    <td class="Teacher1" >听课时间：<?php echo $val['detail']['attend']['listen_time'] ?date('Y-m-d',$val['detail']['attend']['listen_time']) :'';?>
                                    </td>
                                </tr>
                                <tr class="ther">
                                    <td class="Teacher1" colspan="3">听课班级：<?=$val['detail']['attend']['listen_class']?></td>
                                </tr>
                        </table>
                        <table  class="table2" >
                                <!-- 评价项目 -->
                                <tr>
                                    <td class="course" style="border-bottom: 1px solid #000;"  rowspan="2">评价项目</td>
                                    <td class="course borl borb"  rowspan="2"> 评价指标</td>
                                    <td class="course2 borb" style="text-align: center;"  rowspan="2"> </td>
                                    <td class="course2 borb" colspan="3" style="width: 71%;">等级</td>
                                </tr>
                                <tr>
                                    <!-- <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td>
                                    <td class="course2 borb" ></td> -->
                                    <td class="course2 borb" >好</td>
                                    <td class="course2 borb">中</td>
                                    <td class="course2 borb" >差</td>
                                </tr>


                                <!-- 教学能力 -->
                                <tr>
                                    <td class="ability borb" rowspan="12">教　学　能　力　（100）</td>
                                    <!-- 教学准备 -->
                                    <td class="ability borl borb" id="Teaching_ability" rowspan="3"><?= Attend3TeachingContent::First[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= Attend3TeachingContent::First[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::First[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::First[XPHEnum::Detail][0][2] ?></td>
                                </tr>

                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= Attend3TeachingContent::First[XPHEnum::Detail][2][0] ?>-<?= Attend3TeachingContent::First[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= Attend3TeachingContent::First[XPHEnum::Detail][1][0] ?>-<?= Attend3TeachingContent::First[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= Attend3TeachingContent::First[XPHEnum::Detail][0][0] ?>-<?= Attend3TeachingContent::First[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend3_teaching_content'][0]['get_score']>=Attend3TeachingContent::First[XPHEnum::Detail][2][0] && $val['detail']['attend3_teaching_content'][0]['get_score']<=Attend3TeachingContent::First[XPHEnum::Detail][2][1] ? $val['detail']['attend3_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][0]['get_score']>=Attend3TeachingContent::First[XPHEnum::Detail][1][0] && $val['detail']['attend3_teaching_content'][0]['get_score']<=Attend3TeachingContent::First[XPHEnum::Detail][1][1] ? $val['detail']['attend3_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][0]['get_score']>=Attend3TeachingContent::First[XPHEnum::Detail][0][0] && $val['detail']['attend3_teaching_content'][0]['get_score']<=Attend3TeachingContent::First[XPHEnum::Detail][0][1] ? $val['detail']['attend3_teaching_content'][0]['get_score'] : ''?>
                                    </td>
                                </tr>
                            

                                <!-- 教学内容 -->
                                
                                <tr>
                                    <td class="ability borl borb" rowspan="3"><?= Attend3TeachingContent::Second[XPHEnum::Caption] ?>（20）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= Attend3TeachingContent::Second[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Second[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Second[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Second[XPHEnum::Detail][2][0] ?>-<?= Attend3TeachingContent::Second[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= Attend3TeachingContent::Second[XPHEnum::Detail][1][0] ?>-<?= Attend3TeachingContent::Second[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Second[XPHEnum::Detail][0][0] ?>-<?= Attend3TeachingContent::Second[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend3_teaching_content'][1]['get_score']>=Attend3TeachingContent::Second[XPHEnum::Detail][2][0] && $val['detail']['attend3_teaching_content'][1]['get_score']<=Attend3TeachingContent::Second[XPHEnum::Detail][2][1] ? $val['detail']['attend3_teaching_content'][1]['get_score'] : ''?> <?=$val['detail']['attend3_teaching_content'][1]['get_score']>=Attend3TeachingContent::Second[XPHEnum::Detail][1][0] && $val['detail']['attend3_teaching_content'][1]['get_score']<=Attend3TeachingContent::Second[XPHEnum::Detail][1][1] ? $val['detail']['attend3_teaching_content'][1]['get_score'] : ''?> <?=$val['detail']['attend3_teaching_content'][1]['get_score']>=Attend3TeachingContent::Second[XPHEnum::Detail][0][0] && $val['detail']['attend3_teaching_content'][1]['get_score']<=Attend3TeachingContent::Second[XPHEnum::Detail][0][1] ? $val['detail']['attend3_teaching_content'][1]['get_score'] : ''?>
                                </td>
                                </tr>
                            
                                <!-- 教学实施 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= Attend3TeachingContent::Third[XPHEnum::Caption] ?>（35）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= Attend3TeachingContent::Third[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Third[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Third[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Third[XPHEnum::Detail][2][0] ?>-<?= Attend3TeachingContent::Third[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= Attend3TeachingContent::Third[XPHEnum::Detail][1][0] ?>-<?= Attend3TeachingContent::Third[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Third[XPHEnum::Detail][0][0] ?>-<?= Attend3TeachingContent::Third[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend3_teaching_content'][2]['get_score']>=Attend3TeachingContent::Third[XPHEnum::Detail][2][0] && $val['detail']['attend3_teaching_content'][2]['get_score']<=Attend3TeachingContent::Third[XPHEnum::Detail][2][1] ? $val['detail']['attend3_teaching_content'][2]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][2]['get_score']>=Attend3TeachingContent::Third[XPHEnum::Detail][1][0] && $val['detail']['attend3_teaching_content'][2]['get_score']<=Attend3TeachingContent::Third[XPHEnum::Detail][1][1] ? $val['detail']['attend3_teaching_content'][2]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][2]['get_score']>=Attend3TeachingContent::Third[XPHEnum::Detail][0][0] && $val['detail']['attend3_teaching_content'][2]['get_score']<=Attend3TeachingContent::Third[XPHEnum::Detail][0][1] ? $val['detail']['attend3_teaching_content'][2]['get_score'] : ''?>
                                    </td>
                                </tr>
                            
                                <!-- 教学效果 -->
                                <tr>
                                <td class="ability borl borb" rowspan="3"><?= Attend3TeachingContent::Fourth[XPHEnum::Caption] ?>（25）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][2][0] ?>-<?= Attend3TeachingContent::Fourth[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][1][0] ?>-<?= Attend3TeachingContent::Fourth[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= Attend3TeachingContent::Fourth[XPHEnum::Detail][0][0] ?>-<?= Attend3TeachingContent::Fourth[XPHEnum::Detail][0][1] ?></td>
                                </tr>
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend3_teaching_content'][3]['get_score']>=Attend3TeachingContent::Fourth[XPHEnum::Detail][2][0] && $val['detail']['attend3_teaching_content'][3]['get_score']<=Attend3TeachingContent::Fourth[XPHEnum::Detail][2][1] ? $val['detail']['attend3_teaching_content'][3]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][3]['get_score']>=Attend3TeachingContent::Fourth[XPHEnum::Detail][1][0] && $val['detail']['attend3_teaching_content'][3]['get_score']<=Attend3TeachingContent::Fourth[XPHEnum::Detail][1][1] ? $val['detail']['attend3_teaching_content'][3]['get_score'] : ''?><?=$val['detail']['attend3_teaching_content'][3]['get_score']>=Attend3TeachingContent::Fourth[XPHEnum::Detail][0][0] && $val['detail']['attend3_teaching_content'][3]['get_score']<=Attend3TeachingContent::Fourth[XPHEnum::Detail][0][1] ? $val['detail']['attend3_teaching_content'][3]['get_score'] : ''?>
                                    </td>
                                </tr>

                            
                                <!-- 学生状况 -->
                                <tr>
                                <td class="tsstus borl borb" rowspan="3" colspan="2"><?= StudentStatus::Third[XPHEnum::Caption] ?>（100）</td>
                                    <td class="borl borb standard">标准</td>
                                    <td  class="standard"><?= StudentStatus::Third[XPHEnum::Detail][2][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::Third[XPHEnum::Detail][1][2] ?></td>
                                    <td  class="standard"><?= StudentStatus::Third[XPHEnum::Detail][0][2] ?></td>
                                </tr>
                                <tr>
                                    <td class="thaty">配分</td>
                                    <td class="thaty" ><?= StudentStatus::Third[XPHEnum::Detail][2][0] ?>-<?= StudentStatus::Third[XPHEnum::Detail][2][1] ?></td>
                                    <td class="thaty"><?= StudentStatus::Third[XPHEnum::Detail][1][0] ?>-<?= StudentStatus::Third[XPHEnum::Detail][1][1] ?></td>
                                    <td class="thaty" ><?= StudentStatus::Third[XPHEnum::Detail][0][0] ?>-<?= StudentStatus::Third[XPHEnum::Detail][0][1] ?></td>      
                                </tr>   
                            
                                <tr>
                                    <td class="thaty">评分</td>
                                    <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                    <?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][2][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][2][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][1][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][1][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][0][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][0][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?>
                                </td>
                                </tr>

                                <tr style="height: 20px;">
                                    <td class="borl borb" style="font-size: 15px; font-weight: bold;padding-left: 1%;padding-top: 0.5%;padding-bottom: 0.5%;">总计</td>
                                    <td class="borb" colspan="6" style="font-size: 15px;">(教学能力*70%+学生状态*30%):<?=$val['detail']['attend']['score']?></td>
                                </tr>   
                        </table>
                        <table class="table3">
                            <?php if($val['detail']['attend_img3']):?>
                            <tr>
                                        <td class="borb" colspan="20" style="height: auto;"><div
                                                style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                                <div style="font-weight: bold;">学生状况附件</div><br>
                                                <div style="margin-left:10px;padding-bottom: 30px ;">
                                                <div>
                                                    <?php foreach ($val['detail']['attend_img3'] as $k => $v) :?>
                                                        <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                    <?php endforeach?>
                                                </div>
                                                </div>
                                                <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                            </div>
                                        </td>
                                    </tr>
                            <tr>
                            <?php endif;?>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;">听课意见及建议:</div><br><div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend']['advice']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img2'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                        </div></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="borb" colspan="20" style="height: auto;"><div
                                            style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                            <div style="font-weight: bold;"> 听课内容记录: （包括教学内容、教学过程、教学组织、各环节时间点、学生反映情况等）</div><br>
                                            <div style="margin-left:10px;padding-bottom: 30px ;">
                                            <?=$val['detail']['attend_record'][0]['commentary']?>
                                            <div>
                                                <?php foreach ($val['detail']['attend_img1'] as $k => $v) :?>
                                                    <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                                <?php endforeach?>
                                            </div>
                                            </div>
                                            <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                        </div>
                                    </td>
                                </tr>
                        </table>
                    </form>
                </div>
          </div>
        <?php elseif($val['htmltype'] == 5) :?>
            <div class="div">
                <div class="top">
                <span class="topsp">浙江工业职业技术学院课堂教学评价表（<?=$val['detail']['attend']['class_type']?>）</span>
                <p> <span class="topsp1"><?=$val['detail']['attend']['academic_year'].'学年'.$val['detail']['attend']['semester']?></span></p>
                </div>
                <div class="bottom">
                <form>
                        <table class="table1">
                            <!-- 课程信息 -->
                            <tr class="trs">
                                <td class="course"><span>课程信息</span></td>
                                <td class="course1" colspan="2">课程名称：<?=$val['detail']['attend']['class_name']?>  </td>
                                <td class="course1" >开课单位：<?=$val['detail']['attend']['course_units']?></td>
                            </tr>

                            <!-- 教师信息 -->
                            <tr class="ther">
                                <td class="Teacher" rowspan="2">教师信息</td>
                                <td class="Teacher1"  >教师姓名：<?=$val['detail']['attend']['teacher_name']?></td>
                                <td class="Teacher1" >教师职称：<?=$val['detail']['attend']['title']?></td>
                                <td class="Teacher1">所属单位和专业：<?=$val['detail']['attend']['dept_name']?></td>
                            </tr>
                            <tr class="ther">
                                <td class="Teacher1"  >年龄：<?=$val['detail']['attend']['age_groups']?></td>
                                <td class="Teacher1"  colspan="2">教师属性：<?=$val['detail']['attend']['teachers_attribute']?></td>
                            </tr>

                            <!-- 听课信息 -->
                            <tr class="ther">
                                <td class="Teacher" rowspan="2">听课信息</td>
                                <td class="Teacher1" >听课人姓名：<?=$val['detail']['attend']['listen_name']?></td>
                                <td class="Teacher1"  >听课地点：<?=$val['detail']['attend']['listen_address']?></td>
                                <td class="Teacher1" >听课时间：<?php echo $val['detail']['attend']['listen_time'] ?date('Y-m-d',$val['detail']['attend']['listen_time']) :'';?>
                                </td>
                            </tr>
                            <tr class="ther">
                                <td class="Teacher1" colspan="3">听课班级：<?=$val['detail']['attend']['listen_class']?></td>
                            </tr>
                        </table>
                        <table  class="table2" >
                            <!-- 评价项目 -->
                            <tr>
                                <td class="course" style="border-bottom: 1px solid #000;"  rowspan="2">评价项目</td>
                                <td class="course borl borb"  rowspan="2"> 评价指标</td>
                                <td class="course2 borb" style="text-align: center;"  rowspan="2"> </td>
                                <td class="course2 borb" colspan="3" style="width: 71%;">等级</td>
                            </tr>
                            <tr>
                                <!-- <td class="course2 borb" ></td>
                                <td class="course2 borb" ></td>
                                <td class="course2 borb" ></td> -->
                                <td class="course2 borb" >好</td>
                                <td class="course2 borb">中</td>
                                <td class="course2 borb" >差</td>
                            </tr>


                            <!-- 教学能力 -->
                            <tr>
                                <td class="ability borb" rowspan="15">教　学　能　力　（100）</td>
                                <!-- 教学准备 -->
                                <td class="ability borl borb" id="Teaching_ability" rowspan="3"><?= Attend4TeachingContent::First[XPHEnum::Caption] ?>（20）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= Attend4TeachingContent::First[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::First[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::First[XPHEnum::Detail][0][2] ?></td>
                            </tr>

                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= Attend4TeachingContent::First[XPHEnum::Detail][2][0] ?>-<?= Attend4TeachingContent::First[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= Attend4TeachingContent::First[XPHEnum::Detail][1][0] ?>-<?= Attend4TeachingContent::First[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= Attend4TeachingContent::First[XPHEnum::Detail][0][0] ?>-<?= Attend4TeachingContent::First[XPHEnum::Detail][0][1] ?></td>
                            </tr>
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend4_teaching_content'][0]['get_score']>=attend4TeachingContent::First[XPHEnum::Detail][2][0] && $val['detail']['attend4_teaching_content'][0]['get_score']<=attend4TeachingContent::First[XPHEnum::Detail][2][1] ? $val['detail']['attend4_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][0]['get_score']>=attend4TeachingContent::First[XPHEnum::Detail][1][0] && $val['detail']['attend4_teaching_content'][0]['get_score']<=attend4TeachingContent::First[XPHEnum::Detail][1][1] ? $val['detail']['attend4_teaching_content'][0]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][0]['get_score']>=attend4TeachingContent::First[XPHEnum::Detail][0][0] && $val['detail']['attend4_teaching_content'][0]['get_score']<=attend4TeachingContent::First[XPHEnum::Detail][0][1] ? $val['detail']['attend4_teaching_content'][0]['get_score'] : ''?>
                                </td>
                            </tr>
                        

                            <!-- 教学内容 -->
                            
                            <tr>
                                <td class="ability borl borb" rowspan="3"><?= Attend4TeachingContent::Second[XPHEnum::Caption] ?>（20）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= Attend4TeachingContent::Second[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Second[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Second[XPHEnum::Detail][0][2] ?></td>
                            </tr>
                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= Attend4TeachingContent::Second[XPHEnum::Detail][2][0] ?>-<?= Attend4TeachingContent::Second[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= Attend4TeachingContent::Second[XPHEnum::Detail][1][0] ?>-<?= Attend4TeachingContent::Second[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= Attend4TeachingContent::Second[XPHEnum::Detail][0][0] ?>-<?= Attend4TeachingContent::Second[XPHEnum::Detail][0][1] ?></td>
                            </tr>
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend4_teaching_content'][1]['get_score']>=attend4TeachingContent::Second[XPHEnum::Detail][2][0] && $val['detail']['attend4_teaching_content'][1]['get_score']<=attend4TeachingContent::Second[XPHEnum::Detail][2][1] ? $val['detail']['attend4_teaching_content'][1]['get_score'] : ''?> <?=$val['detail']['attend4_teaching_content'][1]['get_score']>=attend4TeachingContent::Second[XPHEnum::Detail][1][0] && $val['detail']['attend4_teaching_content'][1]['get_score']<=attend4TeachingContent::Second[XPHEnum::Detail][1][1] ? $val['detail']['attend4_teaching_content'][1]['get_score'] : ''?> <?=$val['detail']['attend4_teaching_content'][1]['get_score']>=attend4TeachingContent::Second[XPHEnum::Detail][0][0] && $val['detail']['attend4_teaching_content'][1]['get_score']<=attend4TeachingContent::Second[XPHEnum::Detail][0][1] ? $val['detail']['attend4_teaching_content'][1]['get_score'] : ''?>
                            </td>
                            </tr>
                        
                            <!-- 教学实施 -->
                            <tr>
                            <td class="ability borl borb" rowspan="3"><?= Attend4TeachingContent::Third[XPHEnum::Caption] ?>（35）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= Attend4TeachingContent::Third[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Third[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Third[XPHEnum::Detail][0][2] ?></td>
                            </tr>
                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= Attend4TeachingContent::Third[XPHEnum::Detail][2][0] ?>-<?= Attend4TeachingContent::Third[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= Attend4TeachingContent::Third[XPHEnum::Detail][1][0] ?>-<?= Attend4TeachingContent::Third[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= Attend4TeachingContent::Third[XPHEnum::Detail][0][0] ?>-<?= Attend4TeachingContent::Third[XPHEnum::Detail][0][1] ?></td>
                            </tr>
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend4_teaching_content'][2]['get_score']>=Attend4TeachingContent::Third[XPHEnum::Detail][2][0] && $val['detail']['attend4_teaching_content'][2]['get_score']<=Attend4TeachingContent::Third[XPHEnum::Detail][2][1] ? $val['detail']['attend4_teaching_content'][2]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][2]['get_score']>=Attend4TeachingContent::Third[XPHEnum::Detail][1][0] && $val['detail']['attend4_teaching_content'][2]['get_score']<=Attend4TeachingContent::Third[XPHEnum::Detail][1][1] ? $val['detail']['attend4_teaching_content'][2]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][2]['get_score']>=Attend4TeachingContent::Third[XPHEnum::Detail][0][0] && $val['detail']['attend4_teaching_content'][2]['get_score']<=Attend4TeachingContent::Third[XPHEnum::Detail][0][1] ? $val['detail']['attend4_teaching_content'][2]['get_score'] : ''?>
                            </td>
                            </tr>
                        
                            <!-- 教学效果 -->
                            <tr>
                            <td class="ability borl borb" rowspan="3"><?= Attend4TeachingContent::Fourth[XPHEnum::Caption] ?>（25）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][0][2] ?></td>
                            </tr>
                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][2][0] ?>-<?= Attend4TeachingContent::Fourth[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][1][0] ?>-<?= Attend4TeachingContent::Fourth[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= Attend4TeachingContent::Fourth[XPHEnum::Detail][0][0] ?>-<?= Attend4TeachingContent::Fourth[XPHEnum::Detail][0][1] ?></td>
                            </tr>
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend4_teaching_content'][3]['get_score']>=attend4TeachingContent::Fourth[XPHEnum::Detail][2][0] && $val['detail']['attend4_teaching_content'][3]['get_score']<=attend4TeachingContent::Fourth[XPHEnum::Detail][2][1] ? $val['detail']['attend4_teaching_content'][3]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][3]['get_score']>=attend4TeachingContent::Fourth[XPHEnum::Detail][1][0] && $val['detail']['attend4_teaching_content'][3]['get_score']<=attend4TeachingContent::Fourth[XPHEnum::Detail][1][1] ? $val['detail']['attend4_teaching_content'][3]['get_score'] : ''?><?=$val['detail']['attend4_teaching_content'][3]['get_score']>=attend4TeachingContent::Fourth[XPHEnum::Detail][0][0] && $val['detail']['attend4_teaching_content'][3]['get_score']<=attend4TeachingContent::Fourth[XPHEnum::Detail][0][1] ? $val['detail']['attend4_teaching_content'][3]['get_score'] : ''?>
                            </td>
                            </tr>

                            <!-- 教学效果 -->
                            <tr>
                            <td class="ability borl borb" rowspan="3"><?= Attend4TeachingContent::Fifth[XPHEnum::Caption] ?>（25）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][0][2] ?></td>
                            </tr>
                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][2][0] ?>-<?= Attend4TeachingContent::Fifth[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][1][0] ?>-<?= Attend4TeachingContent::Fifth[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= Attend4TeachingContent::Fifth[XPHEnum::Detail][0][0] ?>-<?= Attend4TeachingContent::Fifth[XPHEnum::Detail][0][1] ?></td>
                            </tr>
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][2][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][2][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][1][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][1][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Third[XPHEnum::Detail][0][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Third[XPHEnum::Detail][0][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?>
                            </td>
                            </tr>
                        
                            <!-- 学生状况 -->
                            <tr>
                            <td class="tsstus borl borb" rowspan="3" colspan="2"><?= StudentStatus::Fourth[XPHEnum::Caption] ?>（100）</td>
                                <td class="borl borb standard">标准</td>
                                <td  class="standard"><?= StudentStatus::Fourth[XPHEnum::Detail][2][2] ?></td>
                                <td  class="standard"><?= StudentStatus::Fourth[XPHEnum::Detail][1][2] ?></td>
                                <td  class="standard"><?= StudentStatus::Fourth[XPHEnum::Detail][0][2] ?></td>
                            </tr>
                            <tr>
                                <td class="thaty">配分</td>
                                <td class="thaty" ><?= StudentStatus::Fourth[XPHEnum::Detail][2][0] ?>-<?= StudentStatus::Fourth[XPHEnum::Detail][2][1] ?></td>
                                <td class="thaty"><?= StudentStatus::Fourth[XPHEnum::Detail][1][0] ?>-<?= StudentStatus::Fourth[XPHEnum::Detail][1][1] ?></td>
                                <td class="thaty" ><?= StudentStatus::Fourth[XPHEnum::Detail][0][0] ?>-<?= StudentStatus::Fourth[XPHEnum::Detail][0][1] ?></td>      
                            </tr>   
                        
                            <tr>
                                <td class="thaty">评分</td>
                                <td class="thaty" colspan="3" style="text-align: left;">&nbsp;&nbsp;
                                <?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Fourth[XPHEnum::Detail][2][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Fourth[XPHEnum::Detail][2][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Fourth[XPHEnum::Detail][1][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Fourth[XPHEnum::Detail][1][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?><?=$val['detail']['attend_student_status'][0]['get_score']>=StudentStatus::Fourth[XPHEnum::Detail][0][0] && $val['detail']['attend_student_status'][0]['get_score']<=StudentStatus::Fourth[XPHEnum::Detail][0][1] ? $val['detail']['attend_student_status'][0]['get_score'] : ''?>
                            </td>
                            </tr>

                            <tr style="height: 20px;">
                                <td class="borl borb" style="font-size: 15px; font-weight: bold;padding-left: 1%;padding-top: 0.5%;padding-bottom: 0.5%;">总计</td>
                                <td class="borb" colspan="6" style="font-size: 15px;">(教学能力*70%+学生状态*30%):<?=$val['detail']['attend']['score']?></td>
                            </tr>   
                    </table>
                    <table class="table3" >
                    <?php if($val['detail']['attend_img3']):?>
                        <tr>
                                <td class="borb" colspan="20" style="height: auto;"><div
                                        style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                        <div style="font-weight: bold;">学生状况附件</div><br>
                                        <div style="margin-left:10px;padding-bottom: 30px ;">
                                        <div>
                                            <?php foreach ($val['detail']['attend_img3'] as $k => $v) :?>
                                                <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                            <?php endforeach?>
                                        </div>
                                        </div>
                                        <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                    </div>
                                </td>
                            </tr>  
                    <?php endif;?>
                        <tr>
                                <td class="borb" colspan="20" style="height: auto;"><div
                                        style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                        <div style="font-weight: bold;">听课意见及建议:</div><br><div style="margin-left:10px;padding-bottom: 30px ;">
                                        <?=$val['detail']['attend']['advice']?>
                                        <div>
                                            <?php foreach ($val['detail']['attend_img2'] as $k => $v) :?>
                                                <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                            <?php endforeach?>
                                        </div>
                                    </div></div>
                                </td>
                            </tr>
                            <tr>
                                <td class="borb" colspan="20" style="height: auto;"><div
                                        style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                        <div style="font-weight: bold;"> 听课内容记录: （包括教学内容、教学过程、教学组织、各环节时间点、学生反映情况等）</div><br>
                                        <div style="margin-left:10px;padding-bottom: 30px ;">
                                        <?=$val['detail']['attend_record'][0]['commentary']?>
                                        <div>
                                            <?php foreach ($val['detail']['attend_img1'] as $k => $v) :?>
                                                <img src="<?=$v['img']?>" alt="" style="width:200px;padding: 5px ;">
                                            <?php endforeach?>
                                        </div>
                                        </div>
                                        <!-- <div style="margin-left:10px"><?php pri($val['detail']);?></div> -->
                                    </div>
                                </td>
                            </tr>
                    </table>
                </form>
            </div>
            </div>
        <?PHP endif; ?>
    <?php endforeach ?>
    <!--endprint-->
	</body>
	<script type="text/javascript">

    $(function(){
        addDialogButton("导出",preview);
    })

    /**
     * [打印]
     * @return {[type]} [description]
     */
    function preview()
    {
        bdhtml=window.document.body.innerHTML;//获取当前页的html代码
        sprnstr="<!--startprint-->";//设置打印开始区域
        eprnstr="<!--endprint-->";//设置打印结束区域
        prnhtml=bdhtml.substring(bdhtml.indexOf(sprnstr)+18); //从开始代码向后取html
        prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));//从结束代码向前取html
        window.document.body.innerHTML=prnhtml;
        window.print();
        window.document.body.innerHTML=bdhtml;
    }

</script>
</html>
